package com.xishu.to.foodpanda;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class FoodPandaTopping extends FoodPandaBase{
    private static final long serialVersionUID = 2233939467774281846L;

    @ApiModelProperty(value = "标题描述")
    private FoodPandaZhEn title;

    @ApiModelProperty(value = "数量选择")
    private QuantitySelect quantity;

    @ApiModelProperty(value = "包含有哪些菜")
    @FoodPandaAnnotation(listToObject = true)
    private List<FoodPandaProduct> products;

    @ApiModelProperty(value = "显示顺序")
    private Integer order;

    public FoodPandaTopping() {
        super.type = "Topping";
    }
}
